package com.ailatrieuphu.util;
import android.app.Activity;

public class Config {
	public static int SCREEN_WIDTH = 480;
	public static int SCREEN_HEIGHT = 320;
	public static float sX, sY, cX, cY;

	public static void getDisplayScreen(Activity mActivity) {
		SCREEN_WIDTH = mActivity.getWindowManager().getDefaultDisplay()
				.getWidth();
		SCREEN_HEIGHT = mActivity.getWindowManager().getDefaultDisplay()
				.getHeight();
		sX = Config.SCREEN_WIDTH / 480;
		sY = Config.SCREEN_HEIGHT / 320;
	}

	public static int getSCREEN_WIDTH() {
		return SCREEN_WIDTH;
	}

	public static int getSCREEN_HEIGHT() {
		return SCREEN_HEIGHT;
	}

	public static float getsY() {
		return sY;
	}

	public static float getsX() {
		return sX;
	}

	public static float getcX() {
		return cX;
	}

	public static float getcY() {
		return cY;
	}

}
